% !TeX encoding=utf8
% !TeX spellcheck = en-US

\chapter{List of packages loaded}

\section{Sorted list for speed measurement}
The packages listed in \cref{tab:doc:packages} were recorded by adding step by step more code and comparing the log files for changes in the list of packages. The execution times for each part were monitored as well. These numbers are presented in \cref{fig:doc:executiontimes}. Here only .sty files are listed, all further files that are loaded by packages, such as .cfg or .fd files are not included in the list. For a complete list 

This evaluation was done during the development of this template and not updated since then. 
The number of packages is thus not consistent with the current template. A recent list of all packages 
is presented in \cref{sec:appendix:filelist}

% .........................................................................
 { % start a group 
 \colorlet{tabledarkheadcolor}{black!60}
  % style  
  \small\renewcommand{\arraystretch}{1.4}\sffamily
  % required if floatrow is loaded
  \IfDefined{floatsetup}{\floatsetup[longtable]{font={sf,small}}} 
  % the table
  \begin{longtabu} to \textwidth%
  {X[1,l]X[2,l]}
\captionabove{Packages loaded by the template (Version of January 2013)}
\label{tab:doc:packages}
 \\
  \hline
  \taburowcolors 1{tabledarkheadcolor .. tabledarkheadcolor}
  \upshape
  \sffamily\bfseries\textcolor{white}{Section} &
  \sffamily\bfseries\textcolor{white}{List of Packages} \\ \hline
\endfirsthead
  \hline
  \upshape
  \sffamily\bfseries\textcolor{white}{Section} &
  \sffamily\bfseries\textcolor{white}{List of Packages} \\ \hline
\endhead
  \hline 
  \taburowcolors 1{white .. white}
  \multicolumn{2}{r}{\emph{continued on next page \ldots}}
\endfoot
  \hline
\endlastfoot
%
\taburowcolors 1{tablesubheadcolor .. tablesubheadcolor}
\multicolumn{2}{l}{\file{LaTeXTemplate.tex}} \\
\taburowcolors 2{tablebodycolor .. tablerowcolor}
%
LaTeX Kernel &  \\
%
pre document class & nag.sty, fix-cm.sty \\
%
document class & scrbook.cls (scrkbase.sty, scrbase.sty, keyval.sty, scrlfile.sty, tocbasic.sty, typearea.sty) \\
%
template packages & etex.sty, codesection.sty, etoolbox.sty, templatetools.sty, ifpdf.sty, ltxcmds.sty, array.sty, ifdraft.sty \\
%
encoding (documents) & selinput.sty, inputenc.sty, kvsetkeys.sty, infwarerr.sty, etexcmds.sty, ifluatex.sty, stringenc.sty, pdfescape.sty, pdftexcmds.sty, kvoptions.sty \\
%
encoding (files) & grffile.sty, ifxetex.sty, graphics.sty, trig.sty, epstopdf-base.sty, grfext.sty, kvdefinekeys.sty \\
%
\taburowcolors 1{tablesubheadcolor .. tablesubheadcolor}
\multicolumn{2}{l}{\file{fonts/fonts.tex}} \\
\taburowcolors 2{tablebodycolor .. tablerowcolor}
%
Fonts & cmap.sty, fontenc.sty, textcomp.sty, lmodern.sty \\
Packages: Base & calc.sty, babel.sty, translator.sty, xcolor.sty, colortbl.sty, graphicx.sty, epstopdf.sty, ragged2e.sty, everysel.sty \\
Packages: Bugfix & fixltx2e.sty, marginnote.sty, scrhack.sty, marginfix.sty, xspace.sty \\
%
\taburowcolors 1{tablesubheadcolor .. tablesubheadcolor}
\multicolumn{2}{l}{\file{preamble/packages.tex}} \\
\taburowcolors 2{tablebodycolor .. tablerowcolor}
%
relsize & relsize.sty \\
%
Math & amsmath.sty, amstext.sty, amsgen.sty, amsbsy.sty, amsopn.sty, mathtools.sty, mhsetup.sty, onlyamsmath.sty, braket.sty, cancel.sty, empheq.sty, exscale.sty, fixmath.sty, icomma.sty \\
%
Math (using LaTeX 3) & xfrac.sty, l3keys2e.sty, expl3.sty, l3names.sty, l3bootstrap.sty, l3basics.sty, l3expan.sty, l3tl.sty, l3seq.sty, l3int.sty, l3quark.sty, l3prg.sty, l3clist.sty, l3token.sty, l3prop.sty, l3msg.sty, l3file.sty, l3skip.sty, l3keys.sty, l3fp.sty, l3box.sty, l3coffins.sty, l3color.sty, l3luatex.sty, l3candidates.sty, xparse.sty, xtemplate.sty \\
pgf/tikz & pgf.sty, pgfrcs.sty, everyshi.sty, pgfcore.sty, pgfsys.sty, tikz.sty, pgffor.sty, pgfkeys.sty, pgfplots.sty, pgfplotstable.sty, pgfcalendar.sty \\
%
siunitx & siunitx.sty \\
%
Symbols & dsfont.sty, esint.sty, mathcomp.sty, euscript.sty, eurosym.sty, pifont.sty \\
%
Tables & booktabs.sty, multirow.sty, bigstrut.sty, tabu.sty, varwidth.sty, tablestyles.sty, ltxtable.sty, tabularx.sty \\
Text & ellipsis.sty, ulem.sty, soulutf8.sty, soul.sty, url.sty, varioref.sty, xr-hyper.sty, enumitem.sty, footmisc.sty, cleveref.sty \\
Quotes (csquotes) & csquotes.sty \\
Bibliography (biblatex) & biblatex.sty, biblatex2.sty, logreq.sty, ifthen.sty \\
%
Figures & wrapfig.sty, flafter.sty, placeins.sty \\
%
Captions & floatrow.sty, caption3.sty, fr-fancy.sty, fancybox.sty, caption.sty, subcaption.sty, mcaption.sty, changepage.sty, rotating.sty, ltcaption.sty, fr-longtable.sty \\
%
Index & imakeidx.sty, xkeyval.sty, xpatch.sty, multicol.sty \\
%
Glossary & glossaries.sty, mfirstuc.sty, xfor.sty, datatool-base.sty, substr.sty, datatool-fp.sty, fp.sty, defpattern.sty, fp-basic.sty, fp-addons.sty, fp-snap.sty, fp-exp.sty, fp-trigo.sty, fp-pas.sty, fp-random.sty, fp-eqn.sty, fp-upn.sty, fp-eval.sty, glossary-hypernav.sty, glossary-list.sty, glossary-long.sty, glossary-super.sty, supertabular.sty, glossary-tree.sty, glossary-longragged.sty \\
%
Verbatim, Listings & upquote.sty, verbatim.sty, fancyvrb.sty, listings.sty, lstmisc.sty \\
%
Fancy & lettrine.sty, boxedminipage.sty, framed.sty, mdframed.sty, zref-abspage.sty, zref-base.sty, auxhook.sty, atbegshi.sty \\
%
Layout & setspace.sty (multicol.sty) \\
%
Head and Foot & scrpage2.sty, pageslts.sty, atveryend.sty, undolabl.sty, rerunfilecheck.sty, uniquecounter.sty, bigintcalc.sty, alphalph.sty, intcalc.sty \\
%
Headings & titlesec.sty \\
%
PDF & pdfpages.sty, eso-pic.sty, microtype.sty, hyperref.sty, hobsub-hyperref.sty, hobsub-generic.sty, hobsub.sty, ifvtex.sty, intcalc.sty, bigintcalc.sty, bitset.sty, uniquecounter.sty, letltxmacro.sty, hopatch.sty, xcolor-patch.sty, atveryend.sty, refcount.sty, hycolor.sty, bookmark.sty, nameref.sty, gettitlestring.sty \\
%
Additional & hyphenat.sty, todonotes.sty, currvita.sty    \\
%
\taburowcolors 1{tablesubheadcolor .. tablesubheadcolor}
\multicolumn{2}{l}{\file{preamble/style.tex}} \\
\taburowcolors 2{tablebodycolor .. tablerowcolor}
Style.tex &  \\
%
\taburowcolors 1{tablesubheadcolor .. tablesubheadcolor}
\multicolumn{2}{l}{\file{LaTeXTemplate.tex} after \bs\{begin\}\arg{document}} \\
\taburowcolors 2{tablebodycolor .. tablerowcolor}
Document &  \\
%
\end{longtabu}
} % close the group

\clearpage

\section{Complete File list}
\label{sec:appendix:filelist}
The following list is extracted from the log file of \path{TemplateDocumentation.tex} from the compilation of this document. It thus shows the most recent list of files used.

\IfFileExists{TemplateDocumentation-FileList.txt}%
	{\lstinputlisting[style=lstStyleFramed,nolol=true]{TemplateDocumentation-FileList.txt}}
	{Error: No Filelist found.}
